package com.yu1996.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu1996.common.utils.PageUtils;
import com.yu1996.gulimall.ware.entity.PurchaseEntity;

import com.yu1996.gulimall.ware.vo.MergeVo;
import com.yu1996.gulimall.ware.vo.PurchaseDoneVo;
import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author yu
 * @email 1798121567@qq.com
 * @date 2021-08-06 15:40:02
 */
public interface PurchaseService extends IService<PurchaseEntity> {

  PageUtils queryPage(Map<String, Object> params);

  PageUtils unreceivePurchase(Map<String, Object> params);
  /**
   * 合并采购需求
   */
  void mergePurchase(MergeVo mergeVo);
  /**
   * 领取采购单
   */
  void received(List<Long> ids);
  /**
   * 完成采购单
   */
  void done(PurchaseDoneVo vo);
}
